<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let num = +prompt('输入你的成绩')
        if(num >= 90){
            alert('你的评分是A')
        }else if(num>=80){
            alert('你的评分是B')
        }else if(num>=70){
            alert('你的评分是C')
        }else if(num>=60){
            alert('你的评分是D')
        }else{
            alert('你的评分是E')
        }
    </script>
</body>
</html>